package cn.yxr.service.Impl;

import cn.yxr.mapper.BackendUserMapper;
import cn.yxr.pojo.BackendUser;
import cn.yxr.service.BackendUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BackendUserServiceImpl implements BackendUserService {
	
	@Autowired
	private BackendUserMapper backendUserMapper;

	public BackendUser login(BackendUser user) {
		return backendUserMapper.login(user);
	}

	public BackendUser search(BackendUser user2) {

		return backendUserMapper.search(user2);
	}
}
